package com.mdxq.mall.user.service.impl;

import com.mdxq.mall.response.R;
import com.mybatisflex.core.query.QueryWrapper;
import com.mybatisflex.spring.service.impl.ServiceImpl;
import com.mdxq.mall.user.entity.Resource;
import com.mdxq.mall.user.mapper.ResourceMapper;
import com.mdxq.mall.user.service.ResourceService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 后台资源表 服务层实现。
 *
 * @author zdy
 * @since 2025-01-12
 */
@Service
public class ResourceServiceImpl extends ServiceImpl<ResourceMapper, Resource>  implements ResourceService{

    @Override
    public List<Resource> getResourceList() {
        List<Resource> resourceList = mapper.selectAll();
        return resourceList;
    }
}
